<?
// 设置
$score_map = array("是"=>5,"否"=>0,"不知道"=>1);//答案映射为分数

//*************************把\u开头的编码转为卟*********************/
function decodeUnicode($str)
{
    return preg_replace_callback('/\\\\u([0-9a-f]{4})/i',
        create_function(
            '$matches',
            'return mb_convert_encoding(pack("H*", $matches[1]), "UTF-8", "UCS-2BE");'
        ),
        $str);
}
?>